package xyz.xtt.admin.vo;

import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@Accessors(chain = true)
public class AssetVo {

    // `tbl_asset` 表中的字段
    private Long id;
    //父 ID
    private Long parentId;
    //资产编号
    private Long assetNo;
    //资产名称
    private String assetName;
    //描述
    private String description;
    //指导价格
    private BigDecimal guidePrice;
    //价格
    private BigDecimal price;
    //单位
    private Integer unit;
    private String sUnit;
    //数量
    private Integer amount;
    //作者 ID
    private String authorId;
    private String authorName;
    //所有者 ID
    private String ownerId;
    private String ownerName;
    //合作 ID
    private String cooperationId;
    //流行率
    private Long popularityRate;
    //收藏 ID
    private Long collectionId;
    //第一类型
    private Integer firstType;
    private String firstTypeName;
    //第二类型
    private Integer secondType;
    private String secondTypeName;
    //展示状态
    private Integer showState;
    private String  showStateType;
    //销售模式
    private Integer sellPattern;
    private String sellPatternType;
    //创建时间
    private Long createDatetime;
    //最后修改时间
    private Long lastModifyDatetime;
    //物品 ID
    private String goodsId;
    //元数据
    private String metaData;
    // `tbl_asset_ext` 表中的字段
    //token_id
    private Long tokenId;
    //链名称
    private String chainName;
    //链 ID
    private String chainId;
    //区块号
    private String chainBlockNum;
    //交易 hash
    private String chainTxHash;
    //上链时间
    private Long chainTime;
    //协议标准
    private String referProtocol;
    //出售开始时间
    private Long sellStartDatetime;
    //出售结束时间
    private Long sellEndDatetime;

    // `tbl_asset_static_resource` 表中的字段
    //logo 展示地址
    private String logoUri;
    //展示 uri
    private String displayUri;
    //文件 uri
    private String fileUri;
    //文件类型\n0：图片\n1：音、视
    private Integer fileType;
    private String fileTypeName;
    //最新修改时间
    private Long lastModifyTime;
}